package com.jin.firstspring.controller;

import java.lang.management.ManagementFactory;

public class yu {
    public static void main(String[] args) throws InterruptedException {

        String name = ManagementFactory.getRuntimeMXBean().getName();
        String pid = name.split("@")[0];
        System.out.println("Pid is:" + pid);
        Thread.sleep(60000);
        System.out.print("gou");
    }
}
